﻿using System;
using System.Xml.Serialization;

namespace Top.Api.Domain
{
    [Serializable]
    public class NotifyTopats : TopObject
    {
        [XmlElement("topic")]
        public string Topic { get; set; }

        [XmlElement("status")]
        public string Status { get; set; }

        [XmlElement("api_name")]
        public string ApiName { get; set; }

        [XmlElement("task_id")]
        public long TaskId { get; set; }

        [XmlElement("task_status")]
        public string TaskStatus { get; set; }

        [XmlElement("timestamp")]
        public DateTime Timestamp { get; set; }
    }
}
